package net.messagenet.mazor.infra.mail;

import net.messagenet.mazor.exception.MZRInternalServerException;

/**
 * This interface handles all the mailing from the mazor system
 * 
 *
 * @author Idan
 */

public interface MailManager {
	/**
	 * given the path of the DPA request file
	 * this method sends the file via email
	 * 
	 * @param sendToAddress - address to be send to
	 * @param cc - more address
	 * @param filePath The full path of the file being sent
	 * @throws MZRInternalServerException 
	 */
	public void sendDPASheetViaEmail(String sendToAddress,String cc,String filePath) throws MZRInternalServerException;
	/**
	 * given the path of the POS request file
	 * this method sends the file via email
	 * 
	 * @param sendToAddress - address to be send to
	 * @param cc - more address
	 * @param filePath The full path of the file being sent
	 * @throws MZRInternalServerException 
	 */
	public void sendPOSSheetViaEmail(String email,String cc, String posRequestFilePath) throws MZRInternalServerException;

}
